//
//  CAHomeUser.h
//  cascade-realm
//
//  Created by QSC on 30/5/24.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
//请求到的用户
@interface CAHomeUser : NSObject
@property(nonatomic,copy)NSString * about;
@property(nonatomic,copy)NSString * age;
@property(nonatomic,copy)NSString * avatar;
@property(nonatomic,copy)NSString * avatarUrl;//在关注里用这个字段
@property(nonatomic,copy)NSString * country;
@property(nonatomic,copy)NSString * followNum;
@property(nonatomic,assign)NSInteger gender;
@property(nonatomic,assign)BOOL isFriend;
@property(nonatomic,assign)BOOL isMultiple;
@property(nonatomic,copy)NSString * nickname;
@property(nonatomic,copy)NSString * userId;

//拉黑里的字段
@property(nonatomic,copy)NSString * nickName;
@property(nonatomic,copy)NSString * broadcasterId;
@property(nonatomic,copy)NSString * registerCountry;

@property(nonatomic,strong)NSArray * dataKeys;
@property(nonatomic,assign)NSInteger videoIndex;
@property(nonatomic,copy)NSString * viodeTitle;
@property(nonatomic,copy)NSString * viodeUrl;
@property(nonatomic,copy)NSString * viodeCover;

@property(nonatomic,assign)BOOL isVideolike;



+ (void)getHomeUsers:(void(^)(NSArray *))success waitTime:(NSInteger)waitTime;
+ (void)getVideoUsers:(void(^)(NSArray *))success;
+ (void)getForumUsers:(void(^)(NSArray *))success;

- (void)save;

- (void)SetIsVideolikeInDB:(BOOL)isVideolike;
@end

NS_ASSUME_NONNULL_END
